var Services = {
	topp: function() {
		$('#reTop').click(function() {
			var id = setInterval(function() {
				var scrollTop = $(document).scrollTop();
				var speed = scrollTop / -4;
				scrollBy(0, Math.floor(speed));
				if(scrollTop <= 0) {
					clearInterval(id);
				}
			}, 30);
		});

		$(window).scroll(function() {
			var reTop = $('#reTop');
			var scrollTop = $(document).scrollTop();
			var screenHeight = $(window).height();
			if(scrollTop >= (screenHeight / 2)) {
				reTop.show();
			} else {
				reTop.hide();
			}
		});
	}

};